package cn.xinfei.xdecision.common.model.datax.datainterface.v2.folder.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


@Data
public class VarFolderDeleteReqVo {

	@ApiModelProperty(value = "目录名称", example = "目录一",required = true)
	@NotEmpty(message = "目录名称不能为空")
	private String name;

	@ApiModelProperty(value = "文件夹id", example = "0",required = true)
	@NotNull(message = "id不能为空")
	private Long id;

	@ApiModelProperty(value = "父节点id", example = "0",required = true)
	@NotNull(message = "父节点id不能为空")
	private Long parentId;

	@ApiModelProperty(value = "目录类型", example = "rule",required = true)
	@NotEmpty(message = "目录类型不能为空")
	private String varType;

}
